home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ 3⁄9⁄90 / 0832-Re Guerilla Compacto-Mar90 < prev    next >
Encoding:
Text File  |  1990-03-09  |  1.6 KB  |  36 lines  |  [TEXT/GEOL]

  1. Item    7032615                         7-March-90        05:55PST
  2.  
  3. From:   D2022                           Strata, Gary Bringhurst,PRT
  4.  
  5. To:     MACAPP.TECH$                    MacApp Technical
  6.  
  7. Sub:    Re: Guerilla Compactor
  8.  
  9. I don't really think a background heap compactor addresses the real problem,
  10. which is that the Macintosh memory manager gets claustrophobic when surrounded
  11. by a large number of objects.  Spreading the pain won't help in most of the
  12. situations I've encountered.  We simply need a better memory management scheme.
  13. The Object Pascal team ought to consider choosing something nice so that we can
  14. have compiler support for it.
  15.  
  16. Meyer's book suggests that class methods for storage management of class
  17. instances might be feasible, and he's right.  It works quite nicely under the
  18. right circumstances, and allows implementation of trivial caching schemes that
  19. give a pretty good performance boost.  But it also suffers from the same
  20. disease that the Fields methods have, which is that it requires far too much
  21. programmer involvement in a really gruntly task.
  22.  
  23. Our group has implemented a memory manager that coexists with the Mac memory
  24. manager and provides a much accelerated allocator and deallocator, but it
  25. requires mucking around with the code in UObject to install it, since we
  26. haven't been given any low-level access hooks for this kind of thing.  May we
  27. have them, please?  Until we have low-level access hooks I don't think Guerilla
  28. code for this kind of thing will be very clean, or maintainable.
  29.  
  30. Good luck Christopher,
  31.  
  32. Gary L. Bringhurst
  33. Strata Inc.
  34. D2022
  35.  
  36.